package com.glsc.ngateway.common.base.domain.mysql.gateway.other;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

/**
 * @Author: libj
 * @Date: 2022/6/27
 * @Desc: 数字证书信息日志表
 */
@Data
@Entity
@Table(name = "t_am_digital_key_log")
@org.hibernate.annotations.Table(appliesTo = "t_am_digital_key_log",comment = "产品客户信息日志表")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
@EqualsAndHashCode(callSuper=false)
public class DigitalKeyLog extends BaseDigitalKey {

    @ApiModelProperty(value = "产品客户信息日志表id")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "log_id")
    private Integer logId;

    @ApiModelProperty(value = "数组证书主键")
    @Column(name = "key_id", columnDefinition = "int COMMENT '数组证书主键'")
    private Integer keyId;
}

